package com.tao.util;

import com.google.gson.Gson;
import com.tao.util.pack.BaseResponeBean;

public class Texts {
public static void main(String[] args) {
	String s= "{\"BaseResponse\": {\"Ret\": 0,\"ErrMsg\": \"\"},\"MsgID\": \"7893015359955544465\",\"LocalID\": \"1478148497024\"}";
	//String ret = new StringSubClass().subStringOne(s, "Ret\":", ",\"ErrMsg");
	
	System.out.println(new Gson().fromJson(s, BaseResponeBean.class).getBaseResponse().getRet()); 

	System.out.println("@6e7ca48b719cba4ccea6b89fbae051add92b01f0a28c1fc874a696fcfa85fd9a".equals("@2802d5349a06405aad3a894a5ca2b282cd594c928b8db5f8e40b3e498f36d4a3"));
	
}
}
